<?php
//dezend by http://www.yunlu99.com/ QQ:270656184
defined('BASEPATH') || exit('No direct script access allowed');
$this->load->helper('url');
?>
  <div class="user-body">
  	<div class="body-content">
      <div class="body-title">
       	<?php echo lang('user_safe_log');?>      </div>
      <div class="login-notice">
		你上次登录系统时间为： <strong><?php echo date('Y-m-d H:i:s', $list[0]['add_time']);?></strong> , 登录IP：<strong><?php echo $list[0]['ip'];?></strong>
      </div>
      <div class="list">
        <table cellspacing=0 cellpadding=0 border=0>
				<thead>
					<tr>
						<th width=50%><?php echo lang('user_login_time');?></th>
						<th><?php echo lang('user_login_ip');?></th>
					</tr>
				</thead>
				<tbody>
				
<?php
foreach ($list as $v) {
?>					<tr>
						<td><?php echo date('Y-m-d H:i:s', $v['add_time']);?></td>
						<td><?php echo $v['ip'];?></td>
					</tr>
				<?php
}

?>				</tbody>
			</table>
			<div class="page">
			  <?php echo $page;?>			</div>
			
<?php
if (!$list) {
?>			<div class="not-list">
				<i class="fa fa-ban"></i>
				<span><?php echo lang('user_not_list');?></span>
			</div>
			<?php
}

?>      </div>
      
    </div>
  </div>
  <div class="clear"></div>
</div>